﻿#region

using FluentNHibernate.Mapping;

#endregion

namespace MediaSage.Lib.Database
{
    public class FilmographyMap : ClassMap<FilmographyEntity>
    {
        #region Constructors

        public FilmographyMap()
        {
            Table("Filmography");
            Id(m => m.ID).GeneratedBy.GuidComb().UnsavedValue("00000000-0000-0000-0000-000000000000");
            Map(m => m.Character);
            Map(m => m.Department);
            Map(m => m.Job);
            Map(m => m.MovieTitle);
            Map(m => m.Url);
            Map(m => m.IMDBID);
            Map(m => m.TMDBID);
            Map(m => m.TVDBID);
        }

        #endregion Constructors
    }
}